Trucking Company

 

 

 

AssignTrkcToDriver

Assigns the trucking company for the current truck visit to the specified truck driver. When the truck driver returns for another truck visit, N4 automatically fills in the trucking company information when the gate clerk enters the truck driver's license number; however, the gate clerk can edit the information, if necessary.

Appointment stage

Gate stage

Truck Visit

Through Container (TC)

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

 

 

AssignTruckingCompanyToUnit

Functional Area

Gate

Execution Level

Transaction

Transaction Type(s)

Gate: Deliver Import (DI), Deliver Empty (DM), Receive Export (RE), Receive Empty (RM)

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

Trucking Company (on page 1)

If you do not add the Trucking Company (on page 1) field to the gate form, N4 uses the value in the Last Trucking Company field in the Trucks view and assigns that value to the unit. If the Last Trucking Company field does not have any value, N4 does not assign any trucking company to the unit.

Description

The business task assigns the trucking company (on page 1) that you specify at the gate, to the unit that is being created as part of the gate transaction.

If you use an auto update rule for the UNIT_RECEIVE event that uses the trucking company as a filter criteria, you must include this business task for the gate transaction type.

You could sometimes receive a container associated with one trucking company and then have to deliver the same container on a truck belonging to a different trucking company. In such cases, you must include the AssignTruckingCompanyToUnit business task at the first gate stage in your gate configuration for deliver (DM or DI) transactions. This ensures that N4 sends the correct trucking company to XPS (TRKC attribute) and Equipment Control (Trk Cmp in the Unit Details screen).

If you want to override the business security validation due to the user's business group limitation, you can include this business task for the DI, DM, RE, and RM Gate Appointment stage transactions. When you include the business task, a CAP user belonging to a trucking company A, for example, can create an appointment for his trucking company for a unit which was dropped to the terminal by a different trucking company B.

Parameters

None

Dependencies

None

Timing

For gate transactions, such as Receive Export or Receive Empty, N4 processes tasks when you click the Save Transaction button on the gate transaction section of the <GateStage> tab (on page 1).

Custom Code

None

 

RejectTrkcLineBanned

Rejects a gate transaction if the specified trucking company does not have a valid agreement with the line operator, or if the line operator has restricted the specified gate transaction type for the trucking company.

Appointment stage

Gate stage

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

 

 

RejectTruckingCoMatchesExamOrSeizedCargoCarrier

For units inbond or marked for an offsite exam, this business task prevents the consignee-designated trucking company from taking the unit even if the trucking company is an authorized Exam Site or Seized Cargo carrier.

Appointment stage

Gate stage

Dray Off (DE)

Deliver Import (DI)

Through Container (TC)

Deliver Break-Bulk (DB)

Dray Off (DE)

Deliver Import (DI)

Through Container (TC)

 

 

RejectTruckingCompanyAssignmentRequired

Rejects a gate transaction if the unit being delivered at the gate does not have a trucking company assigned. You can use the Delivery Requirements form or the Group form (on page 1) to associate a trucking company with a unit.

See also RejectTruckingCompanyNotAssignedForPickup (on page 1).

Gate stage

Appointment stage

Deliver Import (DI)

Dray Off (DE)

Deliver Empty (DM)

Deliver Chassis (DC)

Deliver Break-Bulk (DB)

Deliver Import (DI)

Dray Off (DE)

Deliver Empty (DM)

Deliver Chassis (DC)

 

 

RejectTruckingCompanyBanned

Rejects a gate transaction if the specified trucking company is banned from the facility, or if the specified gate transaction type is not allowed for the trucking company. The RejectTruckingCompanyBanned business task is applicable at the gate transaction level and rejects a gate transaction if the trucking company is specified at the gate transaction level. If the trucking company is specified at the truck visit level, N4 generates an error for a banned trucking company irrespective of whether the RejectTruckingCompanyBanned business task is included in the gate configuration or not.

Appointment stage

Gate stage

Truck Visit

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

 

 

RejectTruckingCompanyDeprecated

Rejects a gate transaction if the specified trucking company has been deprecated by the facility.

Appointment stage

Gate stage

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

 

 

RejectTruckingCompanyExpiredDriverAgreement

Rejects a gate transaction if there is no agreement between the trucking company and the driver or if the current date is past the Agreement Expiration date specified in the Trucking Company form (on page 1).

However, if an agreement between the trucking company and the driver exists but the Agreement Expiration date is not specified, N4 does not reject the gate transaction.

Gate stage

Truck Visit IN

Truck Visit OUT

 

 

RejectTruckingCompanyExpiredInsurance

Functional Area

Appointment and Gate

Execution Level

Transaction

Transaction Type(s)

Appointment: Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC),Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC)

Gate: Deliver Break-Bulk (DB), Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC)

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

The business task rejects a gate transaction if the trucking company insurance has expired. The business task does not reject a gate transaction if the expiration date is the same as the current date.

Parameters

None

Dependencies

None

Timing

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

RejectTruckingCompanyExpiredLineAgreement

Functional Area

Appointment and Gate

Execution Level

Transaction

Transaction Type(s)

Appointment: Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC)

Gate: Deliver Break-Bulk (DB), Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC)

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

The business task rejects a gate transaction if the agreement between the trucking company and the line operator has expired. The business task does not reject a gate transaction if the expiration date is the same as the current date.

Parameters

None

Dependencies

None

Timing

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

RejectTruckingCompanyLineExpiredCredit

Rejects a gate transaction if the Credit Expiration Date specified in the line agreement between the line operator and the trucking company has passed.

Appointment stage

Gate stage

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

 

 

RejectTruckingCompanyLineExpiredInsurance

Functional Area

Appointment and Gate

Execution Level

Transaction

Transaction Type(s)

Appointment: Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC)

Gate: Deliver Break-Bulk (DB), Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC)

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

The business task rejects a gate transaction if the Insurance Expiration Date specified in the line agreement between the line operator and the trucking company has passed. The business task does not reject a gate transaction if the expiration date is the same as the current date.

Parameters

None

Dependencies

None

Timing

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

RejectTruckingCompanyMoveRestriction

Rejects a gate transaction if the selected trucking company has an agreement with the line operator but the gate transaction type is not allowed for the selected trucking company, by the line operator. The move restrictions for a trucking company are listed in the Restrictions tab.

The RejectTruckingCompanyMoveRestriction business task does not reject a gate transaction if the restriction for the transaction type is Obsolete.

See also RejectTruckingCompanyNoLineAgreement (on page 1).

Appointment stage

Gate stage

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

 

 

RejectTruckingCompanyNoLineAgreement

Rejects a gate transaction if the selected trucking company does not have an agreement with the line operator, if an agreement with the line operator is Obsolete, or if the gate transaction type is listed in the Line Operator form Gate Restrictions tab.

The RejectTruckingCompanyNoLineAgreement business task does not reject a gate transaction if the line operator does not have any trucking company agreements. Therefore, a line operator must have at least one agreement for N4 to enforce this validation.

See also, RejectTruckingCompanyMoveRestriction (on page 1).

Appointment stage

Gate stage

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

 

 

RejectTruckingCompanyNoDriverAgreement

Functional Area

Gate

Execution Level

Transaction/Truck Visit

Transaction Type(s)

Gate: Deliver Break-Bulk (DB), Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC), Unknown (UK)

Truck Visit IN, Truck Visit OUT, Truck Visit APPTTV

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

The business task rejects a gate transaction if the driver is not associated with the trucking company involved in the transaction.

For information on how to associate a driver with a trucking company, see Driver form (on page 1).

You must include this business task at the truck visit, as well as, at the gate transaction level.

Parameters

None

Dependencies

None

Timing

N4 processes this business task when creating a truck visit or when you click the Save Transaction button on the <GateStage> tab for the first gate transaction.

If any pre-stage business task fails at the first gate stage, N4 does not create a truck visit, and does not allow the user to send the truck to Trouble.

The Confirm Arrival button is available only if you have included an on-arrival business task in your truck visit configuration and the Stage Type of the gate stage is Out-gate Stage.

If a validation business task fails, N4 creates the truck visit and allows the user to send the truck visit to Trouble to be resolved later.

This gate work flow is executed when either of the following conditions is true:

N4 receives an area-done message through the API.

A clerk successfully Saves the last gate transaction for the yard stage at this exchange area and before the clerk clicks the Proceed to Next Stage button for the truck from a gate form.

As the final step in a process-truck API message when all transactions have been submitted.

Automatically from the transaction-level on-submit workflow if the stage is configured to check if all transactions are submitted for that stage. If the transaction-level on-submit workflow passes successfully, N4 checks whether this is the last transaction to be submitted during this visit to an exchange area, meaning that the next transaction, which has not yet been submitted at this stage, is for a different exchange area. If this is the last transaction submitted at the stage, then N4 considers it the last transaction at the exchange area. If the exchange area is null, either because it is a non-exchange area move in a terminal that has exchange areas or the terminal has no exchange areas, then null is treated like any other individual exchange area value.

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

RejectTruckingCompanyNotAssignedForPickup

Functional Area

Appointment and Gate

Execution Level

Transaction

Transaction Type(s)

Appointment: Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM)

Gate: Deliver Break-Bulk (DB), Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM)

Client Type(s)

UI and Gate API

Related Business Task(s)

RejectTruckingCompanyAssignmentRequired (on page 1)

Field(s)

None

Description

The business task rejects a gate transaction if the trucking company specified at the gate does not match the trucking company assigned to pickup the container. You can use the Delivery Requirements form or the Group form (on page 1) to assign a trucking company for a unit.

The business task performs the following validations:

Parameters

precedence: The business task uses this parameter (on page 1) to determine which trucking company to use to validate the trucking company at the gate. If you set, precedence as:

Dependencies

If a trucking company is not specified for the unit, or if the trucking company is a designated house trucker for the line operator, then this business task does not return an error.

Timing

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

RejectTruckingCompanyNotExamSiteCarrier

Functional Area

Appointment and Gate

Execution Level

Transaction

Transaction Type(s)

Appointment:

Dray Off (DE), Deliver Import (DI), and Through Container (TC)

Gate:

Deliver Break-Bulk (DB), Dray Off (DE), Deliver Import (DI), Through Container (TC), Receive Export (RE), and Dray In (RI)

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

Rejects a gate transaction if the specified unit has Exam Status of OFFSITE or OFFSITE&RETURN but the trucking company is not authorized as an Exam Site Carrier.

Parameters

None

Dependencies

None

Timing

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

RejectTruckingCompanyNotMatchingTruckRecord

Functional Area

Gate

Execution Level

Transaction/Truck Visit

Transaction Type(s)

Gate: Deliver Break-Bulk (DB), Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC)

Truck Visit IN

Client Type(s)

UI and Gate API

Related Business Task(s)

UpdateTruck (on page 1)

CreateNewTruck (on page 1)

Field(s)

None

Description

The business task rejects a gate transaction if the trucking company provided does not match the last trucking company used by this truck. N4 checks the Last Trucking Company field in the Truck form (on page 1).

Parameters

validateForNullTruckingCompany:To enable this parameter you must select the Validate Truck Record for Null Trucking Company check box. If you select the check box, N4 validates if the truck license has a valid trucking company associated with it in the Truck form (on page 1). If the last trucking company is set to null in the Truck form (on page 1), N4 displays an error message.

Dependencies

To update the Last Trucking Company (in the Truck form (on page 1)) used by a truck, include the UpdateTruck (on page 1) business task.

Timing

If a validation business task fails, N4 creates the truck visit and allows the user to send the truck visit to Trouble to be resolved later.

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

RejectTruckingCompanyNotSeizedCargoCarrier

Rejects a gate transaction if the specified unit has the Inbond Status of INBOND but the trucking company is not authorized as a Seized Cargo Carrier.

Appointment stage

Gate stage

Dray Off (DE)

Deliver Import (DI)

Through Container (TC)

Deliver Break-Bulk (DB)

Dray Off (DE)

Deliver Import (DI)

Through Container (TC)

 

 

RejectTruckingCompanyUnknown

Rejects a transaction if the specified trucking company does not exist.

Exclude this business task at the appointment stage if you do not want to reject an appointment created using the COPINO EDI message if the trucking company does not exist.

Include this business task at the appointment stage if you want to reject an appointment created using the COPINO EDI message if the trucking company does not exist.

Pre-advise Vessel stage

Pre-advise Rail stage

Appointment stage

Gate stage

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Dray In (RI)

Receive Empty (RM)

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

Truck Visit

Deliver Break-Bulk (DB)

Deliver Chassis (DC)

Dray Off (DE)

Deliver Import (DI)

Deliver Empty (DM)

Receive Break-Bulk (RB)

Receive Chassis (RC)

Receive Export (RE)

Dray In (RI)

Receive Empty (RM)

Through Container (TC)

Truck Visit IN

Truck Visit OUT

 

 

RejectTruckingCoNotMatchingDesignatedBondedCarrier

Functional Area

Appointment, and Gate

Execution Level

Transaction

ransaction Type(s)

Appointment:

Dray Off (DE), Deliver Import (DI), and Through Container (TC)

Gate:

Deliver Break-Bulk (DB), Dray Off (DE), Deliver Import (DI), Through Container (TC), Receive Export (RE), and Dray In (RI)

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

You can use this business task for units inbond or marked for an offsite exam and have a designated Bond Trucking Company, this business task prevents any other trucking company from picking up the unit..

Parameters

None

Dependencies

None

Timing

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.